package com.wangijun.yuan.web.model.vo;

import com.wangijun.yuan.core.domain.Article;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Getter;
import lombok.Setter;

import java.util.List;

@Schema(description = "博客主体")
@Getter
@Setter
public class ArticleContentVO extends Article {

    @Schema(description = "文章内容")
    private String content;

    @Schema(description = "分类")
    private CategoryVO category;

    @Schema(description = "标签")
    private List<TagInfoVO> tagList;

    @Schema(description = "话题数据")
    private TopicInfoVO topic;

    @Schema(description = "总字数")
    private Integer totalWords;

    @Schema(description = "阅读时长")
    private String readTime;

    @Schema(description = "相对时间")
    private String relativeTime;

    @Schema(description = "用户信息")
    private ArticleUserVO userInfo;

    @Schema(description = "是否点赞")
    private Boolean isStar;

    @Schema(description = "是否收藏")
    private Boolean isFav;



}
